package com.kakarote.hrm.entity.VO;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
public class RecruitPositionExportVO {

    @ApiModelProperty("招聘计划")
    @ExcelProperty("招聘计划")
    @ColumnWidth(20)
    private String planName;

    @ApiModelProperty("岗位编码")
    @ExcelProperty("岗位编码")
    @ColumnWidth(20)
    private String positionCode;

    @ApiModelProperty("招聘岗位")
    @ExcelProperty("招聘岗位")
    @ColumnWidth(25)
    private String positionName;

    @ApiModelProperty("招聘数量")
    @ExcelProperty("招聘数量")
    @ColumnWidth(15)
    private Integer positionNum;

    @ApiModelProperty("岗位类别名称")
    @ExcelProperty("岗位类别")
    @ColumnWidth(15)
    private String positionTypeName;

    @ApiModelProperty("招聘渠道名称")
    @ExcelProperty("招聘渠道")
    @ColumnWidth(15)
    private String positionChannelName;

    @ApiModelProperty("招聘单位")
    @ExcelProperty("招聘单位")
    @ColumnWidth(25)
    private String positionUnit;

    @ApiModelProperty("招聘原因")
    @ExcelProperty("招聘原因")
    @ColumnWidth(30)
    private String positionReason;


    @ApiModelProperty("招聘条件")
    @ExcelProperty("招聘条件")
    @ColumnWidth(30)
    private String positionCondition;

    @ApiModelProperty("创建时间")
    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    private LocalDateTime createTime;

    @ApiModelProperty("创建人姓名")
    @ExcelProperty("创建人")
    @ColumnWidth(15)
    private String createRealName;

    @Override
    public String toString() {
        return "RecruitPositionExportVO{" +
                ", positionCode='" + positionCode + '\'' +
                ", positionName='" + positionName + '\'' +
                ", positionReason='" + positionReason + '\'' +
                ", positionNum=" + positionNum +
                ", positionCondition='" + positionCondition + '\'' +
                ", positionTypeName='" + positionTypeName + '\'' +
                ", positionChannelName='" + positionChannelName + '\'' +
                ", positionUnit='" + positionUnit + '\'' +
                ", createTime=" + createTime +
                ", createRealName='" + createRealName + '\'' +
                '}';
    }
}
